#ifndef __W25QX_H
#define __W25QX_H

#include "driverlib.h"

void W25Q_Read_Arry(uint32_t Addr,uint16_t* Data,uint16_t Length);
void W25Q_Write_Enable(void);
void W25Q_Write_CMD(uint16_t Cmd,uint32_t Addr);
uint16_t W25Q_Write_Arry(uint32_t Addr,uint16_t* Data,uint16_t Length);
uint16_t W25Q_ReadID(void);
uint16_t W25Q_ReadSR(void);
uint16_t W25Q_Wait_Busy(uint16_t Write_ms);
uint16_t W25QXX_Erase_Sector(uint32_t Addr);
uint16_t W25Q_chick_ID_W25Q128(void);

// void my_delay_us(uint32_t time);


#endif
